<?php
/* Eingeblendet wenn eingeloggt */
if (isset($_SESSION['log_name']))
{
	echo '<table title="logout">';
	echo '<tr>';
	echo '<td><a href="mod/login/logout.php" class="klein">Logout &gt;&gt;</a></td>';
	echo '</tr>';
	echo '</table>';
}
else
/* Eingeblendet wenn ausgeloggt */
{
	echo '<form name="login" action="index.php" method="post" onsubmit="return checkform()">';
	echo '<table>';
	echo '<tr>';
	echo '<td class="klein">Name</td>';
	echo '<td><input type="text" title="log_name" name="log_name" maxlength="32" size="15" class="in" /></td>';
	echo '</tr>';
	echo '<tr>';
	echo '<td class="klein">Passwort</td>';
	echo '<td><input type="password" title="log_password" name="log_password" maxlength="40" size="15" class="in" /></td>';
	echo '</tr>';
	echo '<tr>';
	echo '<td>&nbsp;</td>';
	echo '<td><input name="login" type="submit" value="Login" class="aus" /></td>';
	echo '</tr>';
	echo '</table>';
	echo '</form>';
}